Fix subprocess creation in directories managed by tramp-androidsu
authorPo Lu <luangruo@yahoo.com>
Thu, 29 Feb 2024 02:59:09 +0000 (10:59 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 29 Feb 2024 02:59:09 +0000 (10:59 +0800)
commit15ed441fd53ddb476a2a21c8717697a74cf094e1
treeaed26cafb6b0b45581c1977f305a4ea78f8408c9
parent05195e129fc933db32c9e08a155a94bfa4d75b54
Fix subprocess creation in directories managed by tramp-androidsu

* lisp/net/tramp-androidsu.el
(tramp-androidsu-maybe-open-connection): Set connection property
remote-namespace to t or nil subject to whether su runs in the
global mount namespace.
(tramp-androidsu-adb-handle-make-process): Delete function.
(tramp-androidsu-make-process): New function.
(tramp-androidsu-file-name-handler-alist): Switch to
tramp-androidsu-make-process.
lisp/net/tramp-androidsu.el